﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MODEL
{
    /// <summary>
    /// 邮箱信息
    /// </summary>
    public class EmailInfo
    {
        private int _iD;

        /// <summary>
        /// 编号
        /// </summary>
        public int ID
        {
            get { return _iD; }
            set { _iD = value; }
        }
        private string _eMAILNAME;

        /// <summary>
        /// 名称
        /// </summary>
        public string EMAILNAME
        {
            get { return _eMAILNAME; }
            set { _eMAILNAME = value; }
        }
        private int _eGROUNDID;

        /// <summary>
        /// 所属分组
        /// </summary>
        public int EGROUNDID
        {
            get { return _eGROUNDID; }
            set { _eGROUNDID = value; }
        }
        private DateTime _eCREATETIME;

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime ECREATETIME
        {
            get { return _eCREATETIME; }
            set { _eCREATETIME = value; }
        }
        private string _eMAILADDRESS;

        /// <summary>
        /// 邮箱地址
        /// </summary>
        public string EMAILADDRESS
        {
            get { return _eMAILADDRESS; }
            set { _eMAILADDRESS = value; }
        }
        private string _eCREATEID;

        /// <summary>
        /// 添加用户编号
        /// </summary>
        public string ECREATEID
        {
            get { return _eCREATEID; }
            set { _eCREATEID = value; }
        }
    }
    /// <summary>
    /// 邮箱分组
    /// </summary>
    public class EmailGroup
    {
        private int _iD;

        /// <summary>
        /// 编号
        /// </summary>
        public int ID
        {
            get { return _iD; }
            set { _iD = value; }
        }
        private string _eGROUPNAME;

        /// <summary>
        /// 分组名称
        /// </summary>
        public string EGROUPNAME
        {
            get { return _eGROUPNAME; }
            set { _eGROUPNAME = value; }
        }
        private DateTime _eCREATETIME;

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime ECREATETIME
        {
            get { return _eCREATETIME; }
            set { _eCREATETIME = value; }
        }
        private string _eCREATEID;

        /// <summary>
        /// 添加用户编号
        /// </summary>
        public string ECREATEID
        {
            get { return _eCREATEID; }
            set { _eCREATEID = value; }
        }
    }
    /// <summary>
    /// 发送日志
    /// </summary>
    public class EmailLog
    {
        private int _iD;

        /// <summary>
        /// 编号
        /// </summary>
        public int ID
        {
            get { return _iD; }
            set { _iD = value; }
        }
        private string _eTOMAILADDRESS;

        /// <summary>
        /// 收件箱地址
        /// </summary>
        public string ETOMAILADDRESS
        {
            get { return _eTOMAILADDRESS; }
            set { _eTOMAILADDRESS = value; }
        }
        private string _eFROMMAILADDRESS;

        /// <summary>
        /// 发件箱地址
        /// </summary>
        public string EFROMMAILADDRESS
        {
            get { return _eFROMMAILADDRESS; }
            set { _eFROMMAILADDRESS = value; }
        }
        private DateTime _eCREATETIME;

        /// <summary>
        /// 发送时间
        /// </summary>
        public DateTime ECREATETIME
        {
            get { return _eCREATETIME; }
            set { _eCREATETIME = value; }
        }
        private string _eUPDATETIME;

        /// <summary>
        /// 修改时间
        /// </summary>
        public string EUPDATETIME
        {
            get { return _eUPDATETIME; }
            set { _eUPDATETIME = value; }
        }
        private string _eDESCRIBE;

        /// <summary>
        /// 描述
        /// </summary>
        public string EDESCRIBE
        {
            get { return _eDESCRIBE; }
            set { _eDESCRIBE = value; }
        }
        private string _eCREATEID;

        /// <summary>
        /// 发送人
        /// </summary>
        public string ECREATEID
        {
            get { return _eCREATEID; }
            set { _eCREATEID = value; }
        }
        private int _eSTATE;

        /// <summary>
        /// 发送状态
        /// </summary>
        public int ESTATE
        {
            get { return _eSTATE; }
            set { _eSTATE = value; }
        }
        private string _eCONTENT;

        /// <summary>
        /// 发送内容
        /// </summary>
        public string ECONTENT
        {
            get { return _eCONTENT; }
            set { _eCONTENT = value; }
        }
    }
    /// <summary>
    /// SMTP设置
    /// </summary>
    public class EmailSmtp
    {
        private int _iD;

        /// <summary>
        /// 编号
        /// </summary>
        public int ID
        {
            get { return _iD; }
            set { _iD = value; }
        }
        private string _eUSERNAME;

        /// <summary>
        /// 用户名
        /// </summary>
        public string EUSERNAME
        {
            get { return _eUSERNAME; }
            set { _eUSERNAME = value; }
        }
        private string _ePASSWORD;

        /// <summary>
        /// 密码
        /// </summary>
        public string EPASSWORD
        {
            get { return _ePASSWORD; }
            set { _ePASSWORD = value; }
        }
        private string _eSMTPADDRESS;

        /// <summary>
        /// smtp地址
        /// </summary>
        public string ESMTPADDRESS
        {
            get { return _eSMTPADDRESS; }
            set { _eSMTPADDRESS = value; }
        }
        private int _ePORT;

        /// <summary>
        /// smtp端口
        /// </summary>
        public int EPORT
        {
            get { return _ePORT; }
            set { _ePORT = value; }
        }
        private string _eCREATEID;

        /// <summary>
        /// 创建人编号
        /// </summary>
        public string ECREATEID
        {
            get { return _eCREATEID; }
            set { _eCREATEID = value; }
        }
        private DateTime _eCREATETIME;

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime ECREATETIME
        {
            get { return _eCREATETIME; }
            set { _eCREATETIME = value; }
        }
    }
}
